/**
*@ClassName: LoginForm
*@Description
*@Author maozhi
*@Date 2021/3/22
*@Time 14:56
*/

package com.universityJob.modules.app.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 登录表单
 *
 *
 */
@Data
@ApiModel(value = "登录表单")
public class LoginForm {
    @ApiModelProperty(value = "学号")
    @NotBlank(message="学号不能为空")
    private String username;

    @ApiModelProperty(value = "密码")
    @NotBlank(message="密码不能为空")
    private String password;
}
